package cn.com.unionlife.hy.system.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import cn.com.unionlife.hy.core.exception.BusinessException;
import cn.com.unionlife.hy.system.mapper.MenuMapper;
import cn.com.unionlife.hy.system.service.MenuQryService;
import cn.com.unionlife.hy.system.vo.MenuVO;

@Service("menuQryService")
public class MenuQryServiceImpl implements MenuQryService {
	
	@Resource(name = "menuMapper")
	private MenuMapper menuMapper;

	@Override
	public List<MenuVO> getUserMenu(String userId) throws BusinessException {
		return menuMapper.getUserMenus(userId);
	}

	

}
